import request from "@/request/index.js"

// 获取出入库记录列表
export function getInAndOutList(params) {
    return request({
      url: '/officesupplies/officeSuppliesStock/listInAndOut',
      method: 'get',
      params
    })
  }

  // 获取领取详情
export function getApplyRecordDetails(params) {
    return request({
      url: '/officesupplies/inAndOutStockController/receipt',
      method: 'get',
      params
    })
  }


// 出库操作
export function handleOutStock(params) {
  return request({
    url: '/officesupplies/inAndOutStockController/outStock',
    method: 'post',
    params
  })
}